package com.fliad.ai.entity;

import lombok.Data;
import org.dromara.autotable.annotation.AutoColumn;
import org.dromara.autotable.annotation.AutoTable;
import org.dromara.autotable.annotation.PrimaryKey;

import java.util.Date;

/**
 * 知识库
 *
 * @author wyl
 * @date 2025年05月22日 下午8:38
 */
@Data
@AutoTable(comment = "知识库")
public class AiKnowledge {

    @PrimaryKey()
    private Long id;

    @AutoColumn(length = 128, comment = "ICON")
    private String icon;

    @AutoColumn(length = 128, comment = "标题")
    private String title;

    @AutoColumn(length = 256, comment = "描述")
    private String description;

    @AutoColumn(length = 64, comment = "向量数据库类型")
    private String vectorStoreType;

    @AutoColumn(length = 512, comment = "向量数据库配置")
    private String vectorStoreConfig;

    @AutoColumn(length = 64, comment = "Embedding 模型ID")
    private String vectorEmbedLlmId;

    private Date created;
    private Long createdBy;
    private Date modified;
    private Long modifiedBy;

}